<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form>
    用户名：<input name="username" value="zhangsan">
    爱好：
    <input type="checkbox" name="hobby" value="read" checked="checked">看书
    <input type="checkbox" name="hobby" value="swim">游泳
    <input type="submit" value="提交">
</form>
</body>
</html>